var oText = document.querySelector("#text");
var oWords = document.querySelector("#words");
var oBack = document.querySelector("#back");

oText.oninput = function () {
  oWords.innerHTML = oText.value.length;
};

oBack.onclick = function () {
  history.back();
};
